package com.lottery.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 投注信息表
 * 
 * @author Administrator
 *
 */
public class Bettinginfo implements Serializable {

	private static final long serialVersionUID = -6678348947912640503L;
	private int id; // id
	private int userId;// 用户id
	private int lotteyType; // 彩票类型
	private int playwayinfoId; // 彩票玩法详情id
	private String expect;// 期号
	private String playwayName;// 彩票玩法名称
	private int bettingnumber;// 投注注数
	private String bettingrule;// 投注规则
	private double bettingmoney; // 投注金额
	private int state; // 彩券下注状态,0是未中奖，1是已中奖
	private Date bettingDate; // 生成时间
	private Date payDate;// 支付时间
	private String status;// 冻结
	private String betOrderID;//下注订单
	private double accountMoney;//账户余额
	private String remark;//竞猜记录说明
	private double accountChange;//账户金额变动
	private String agencyMark;//所属渠道商

	public String getAgencyMark() {
		return agencyMark;
	}

	public void setAgencyMark(String agencyMark) {
		this.agencyMark = agencyMark;
	}

	public double getAccountChange() {
		return accountChange;
	}

	public void setAccountChange(double accountChange) {
		this.accountChange = accountChange;
	}

	public void setLotteyType(int lotteyType) {
		this.lotteyType = lotteyType;
	}

	public double getAccountMoney() {
		return accountMoney;
	}

	public void setAccountMoney(double accountMoney) {
		this.accountMoney = accountMoney;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getBetOrderID() {
		return betOrderID;
	}

	public void setBetOrderID(String betOrderID) {
		this.betOrderID = betOrderID;
	}
	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Bettinginfo() {
		super();
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public int getPlaywayinfoId() {
		return playwayinfoId;
	}

	public void setPlaywayinfoId(int playwayinfoId) {
		this.playwayinfoId = playwayinfoId;
	}

	public String getExpect() {
		return expect;
	}

	public void setExpect(String expect) {
		this.expect = expect;
	}

	public String getPlaywayName() {
		return playwayName;
	}

	public void setPlaywayName(String playwayName) {
		this.playwayName = playwayName;
	}

	public int getBettingnumber() {
		return bettingnumber;
	}

	public void setBettingnumber(int bettingnumber) {
		this.bettingnumber = bettingnumber;
	}

	public String getBettingrule() {
		return bettingrule;
	}

	public void setBettingrule(String bettingrule) {
		this.bettingrule = bettingrule;
	}

	public double getBettingmoney() {
		return bettingmoney;
	}

	public void setBettingmoney(double bettingmoney) {
		this.bettingmoney = bettingmoney;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	public Date getBettingDate() {
		return bettingDate;
	}

	public void setBettingDate(Date bettingDate) {
		this.bettingDate = bettingDate;
	}

	public Date getPayDate() {
		return payDate;
	}

	public void setPayDate(Date payDate) {
		this.payDate = payDate;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public Integer getLotteyType() {
		return lotteyType;
	}

	public void setLotteyType(Integer lotteyType) {
		this.lotteyType = lotteyType;
	}

	@Override
	public String toString() {
		return "Bettinginfo [id=" + id + ", userId=" + userId + ", lotteyType=" + lotteyType + ", playwayinfoId="
				+ playwayinfoId + ", expect=" + expect + ", playwayName=" + playwayName + ", bettingnumber="
				+ bettingnumber + ", bettingrule=" + bettingrule + ", bettingmoney=" + bettingmoney + ", state=" + state
				+ ", bettingDate=" + bettingDate + ", payDate=" + payDate + ", status=" + status + "]";
	}

}
